/*
 * @Descripttion:
 * @version:
 * @Date: 2021-04-21 09:18:32
 * @LastEditors: huzhushan@126.com
 * @LastEditTime: 2022-09-27 18:51:35
 * @Author: huzhushan@126.com
 * @HomePage: https://huzhushan.gitee.io/vue3-element-admin
 * @Github: https://github.com/huzhushan/vue3-element-admin
 * @Donate: https://huzhushan.gitee.io/vue3-element-admin/donate/
 */
const Layout = () => import('@/layout/index.vue')
//导入组件
const Streaming = () => import('@/views/video/Streaming.vue')
const Device = () => import('@/views/video/Device.vue')
const Intercept = () => import('@/views/video/Intercept.vue')
const Haikang = () => import('@/views/video/Haikang.vue')
//注意事项：必须保证路由的name属性值是唯一的
export default [
  {
    path: '/video',
    component: Layout,
    name: 'video',
    meta: {
      title: '视频推流',
    },
    icon: 'Location',
    children: [
      {
        path: '/streaming',
        name: 'streaming',
        component: Streaming,
        meta: {
          title: '视频流请求',
        },
      },
      {
        path: '/device',
        name: 'device',
        component: Device,
        meta: {
          title: '监控设备管理',
        },
      },
      {
        path: '/intercept',
        name: 'intercept',
        component: Intercept,
        meta: {
          title: '视频流截取',
        },
      },
      {
        path: '/kaikang',
        name: 'kaikang',
        component: Haikang,
        meta: {
          title: '海康数据接口',
        },
      },
    ],
  },
]
